{% extends "index.html" %}

{% block ip_content %}
<link rel="stylesheet" type="text/css" href="media/css/form.css">


{% if not chain_id %}
<form action="/iptables/chain/add/" method="post">
{% endif %}
{% if chain_id %}
<form action="/iptables/chain/edit/{{chain_id}}/" method="post">
{% endif %}

	<div id="container">
			<div id="kutubaslik"><strong>Zincir Düzenleme Formu</strong></div>	
			<br/>
			<br/>
			<br/>
			<div id="leftcolumn">
	{{form.isim.label}}:{{form.isim}}
				
			
			</div>

	
	<br/><br/><br/>

			<div id="leftcolumn_chain">
	{{form.aciklama.label}}:{{form.aciklama}}
			<div>




			<div align="center"><input type="submit" value="Kaydet"/></div>
		


</form>

	{% if hatalar%}
		<div id="hata">{{hatalar}}</div>
	{% endif %}

{% if form.errors %}
	<div id="hata">
	
		{{form.errors}}

	</div>
{% endif %}

</div>

{% endblock %}